package com.ittest.service;

import com.ittest.domain.SMSCode;
import net.rubyeye.xmemcached.exception.MemcachedException;

import java.util.concurrent.TimeoutException;

public interface SMSCodeService {


    public String sendCodeToSMS(String tele) throws InterruptedException, TimeoutException, MemcachedException;
    public boolean checkcode(SMSCode smsCode);
}
